package com.ydy.common.model;

import java.sql.Date;
import java.util.Set;

public class Menu {

    private Integer id;

    private String menuCode;

    private String menuParentCode;

    private String menuTitle;

    private String menuUrl;

    private Set<Menu> children;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMenuCode() {
        return menuCode;
    }

    public void setMenuCode(String menuCode) {
        this.menuCode = menuCode;
    }

    public String getMenuParentCode() {
        return menuParentCode;
    }

    public void setMenuParentCode(String menuParentCode) {
        this.menuParentCode = menuParentCode;
    }

    public String getMenuTitle() {
        return menuTitle;
    }

    public void setMenuTitle(String menuTitle) {
        this.menuTitle = menuTitle;
    }

    public String getMenuUrl() {
        return menuUrl;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    public Set<Menu> getChildren() {
        return children;
    }

    public void setChildren(Set<Menu> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "Menu{" +
                "id=" + id +
                ", menuCode='" + menuCode + '\'' +
                ", menuParentCode='" + menuParentCode + '\'' +
                ", menuTitle='" + menuTitle + '\'' +
                ", menuUrl='" + menuUrl + '\'' +
                ", children=" + children +
                '}';
    }
}
